package com.orange.stat.client;

import com.orange.commonutils.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author orange
 * @email orangestart@yeah.net
 * @create 2021-12-29 20:00
 */
@Component
@FeignClient("service-ucenter")
public interface UcenterClient {
    //根据日期，获取那天注册人数
    @GetMapping("/serviceUcenter/ucenter-member/countRegister/{day}")
    Result countRegister(@PathVariable("day") String day);
}
